<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>登录</title>
    <link rel="shortcut icon" href="${pageContext.request.contextPath}/static/img/favicon.jpg" type="image/x-icon"/>
    <link type="text/css" href="${pageContext.request.contextPath}/static/css/login.css" rel="stylesheet" />
    <link type="text/css" href="${pageContext.request.contextPath}/static/css/base.css" rel="stylesheet" />
</head>
<body>
<form action="${pageContext.request.contextPath}/login" method="post">
    用户名:<input name="username" required>
    <br>
    密&nbsp;&nbsp;&nbsp;码:<input type="password" name="password" required>
    <br>
    验证码:<input name="captcha" minlength="4" maxlength="4" style="width: 200px">
    <img src="${pageContext.request.contextPath}/captcha" />
    <br>
    <button type="submit">登录</button><label>${msg}</label>
</form>
</body>
</html>
